<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
    <title>新闻详情</title>
    <link rel="stylesheet" href="__HOME_TMPL__/css/iconfont.css">
    <link rel="stylesheet" href="__HOME_TMPL__/css/weui.css">
    <link rel="stylesheet" href="__HOME_TMPL__/css/index.css">
</head>
<body>
<!--top-->
<!--<div class="tab_navs">
    <div class="header">
        <div class="h-left">
            <a class="sb-back icon iconfont icon-back icon-backs" href="javascript:history.back(-1)" title="返回"></a>
        </div>
        <div class="h-mid">
            <h4 class="mui-text-center" >新闻详情</h4>
        </div>
        <div class="h-right">
        </div>
    </div>
</div>-->

<!--主要内容-->
<div class="about news_detial" >
    <div class="content">
        <!--title-->
        <!--<div class="title row" style="margin-top: 0;">
            <div class="col-xs-12 text-center eng">News detail</div>
            <div class="col-xs-12">
                <div class="col-xs-4 text-right"></div>
                <div class="col-xs-4 text-center cons">新闻详情</div>
                <div class="col-xs-4 text-left"></div>
            </div>
        </div>-->
        <div class="detial">

            <div class="detial_title">
                <h4 class="text-center">{$detail.0.title}</h4>
                <p class="text-center">发布时间：{$detail.0.create_time|date="Y-m-d",###}</p>
            </div>

            <!--主要内容-->
            <!--广告图片-->
            <div class="banners">
                {foreach name="detail.0.tu" item="vo"}
                <img src="{$vo}" class="img-responsive" alt="">
                {/foreach}
            </div>

            {$detail.0.content}

            <!--分页-->
            <div class="row pages">

                <div class="col-xs-12 text-left">
                    {if condition="$lastone eq 0"}
                    <!--<a>上一篇:</a>-->
                    {else/}
                    <a href="{:url('index/newsdetial', ['id' => $lastone.id])}">上一篇：{$lastone.title}</a>
                    {/if}
                </div>
                <div class="col-xs-12 text-right">
                    {if condition="$nextone eq 0"}
                    <!--<a>下一篇</a>-->
                    {else/}
                    <a href="{:url('index/newsdetial', ['id' => $nextone.id])}">下一篇：{$nextone.title}</a>
                    {/if}
                </div>
            </div>
        </div>


</div>
<script>

</script>
</body>
</html>